<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<%@taglib prefix="s" uri="/struts-tags" %>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <jsp:include page="include/title.jsp" />
        <meta name="keywords" content="" />
        <meta name="description" content="" />
        <link href="css/style.css" rel="stylesheet" type="text/css" media="screen" />
        <link href="css/login_style.css" rel="stylesheet" type="text/css" media="screen" />
        <link rel="SHORTCUT ICON" href="favicon.ico">      
    </head>
    <body>
        <div id="main">
            <div id="header">
                <jsp:include page="include/header.jsp" />
            </div>

            <div id="contenuto">

                <div id="welcome_msg">
                    <h1>Effettua il login!</h1>
                </div>

                <div id="login_box">
                    <s:form action="loginAction" method="post" >
                        <table class="login_table">
                            <tr>
                                <td><s:label label="Username" /></td>
                                <td><s:textfield name="username"/></td>
                            </tr>
                            <tr>
                                <td><s:label label="Password" /></td>
                                <td><s:textfield name="password"/></td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <div class="login-buttons">
                                        <s:submit cssClass="sign-in-button" value="Login"/>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </s:form>
                    <br />

                    ${messaggioErrore}
                </div>
            </div>

            <div id="footer">
                <jsp:include page="include/footer.jsp" />
            </div>
        </div>
    </body>
</html>
